package com.woniuxy.base.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniuxy.base.model.entity.BaseArea;
import com.woniuxy.base.model.entity.BaseAreaRecord;
import com.woniuxy.base.model.entity.BaseMaterial;

import java.util.List;

public interface BaseAreaService {

    Page<BaseArea> getAll(int current, int size);

    Boolean update(BaseArea baseArea, String account);

    Boolean add(BaseArea baseArea);

    Page<BaseArea> conditionSearch(BaseArea baseArea, Integer current, Integer size);

    Page<BaseArea> keywordSearch(String keyword, Integer current, Integer size);

    List<BaseAreaRecord> detail(Integer areaId);

    List<BaseArea> baseList();
}
